package org.kimoji.entity.biz;

import org.codehaus.jackson.annotate.JsonIgnore;

public class JsonRes {

	
	private boolean success;
	private String message;
	private Object object;
	@JsonIgnore
	private Object addition;
	
	public static JsonRes getInstance(boolean success){
		JsonRes jsonRes = new JsonRes();
		jsonRes.setSuccess(success);
		return jsonRes;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	public Object getAddition() {
		return addition;
	}

	public void setAddition(Object addition) {
		this.addition = addition;
	}
	
}
